package cn.lcfms.test;



import java.io.IOException;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import cn.lcfms.utils.Vardump;



@RunWith(SpringJUnit4ClassRunner.class)    
@ContextConfiguration(locations = {"classpath*:springmvc-context.xml"}) 
public class T4{
	
	@Test
	public void t11() throws IOException {
		Document doc = Jsoup.parse("<p>abc</p>");
		Vardump.print(doc);
	}
	
	public static void main(String[] args) throws Exception{
		Document doc = Jsoup.parse("<p>abc</p>");
		System.out.println(doc.select("body").html());
		String cString="BimcController";
		System.out.println(cString.toLowerCase());
		cString.toLowerCase().substring(0,cString.indexOf("Controller"));
	}
}

class Obj{
	public int mi=123;
	public String ms="abc";
}
